<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Setting Permissions for Windows PowerShell (Applicable to Snapshot-based Backup at the Storage Layer)">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="oracle_gud_0132_1">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Setting Permissions for Windows PowerShell (Applicable to Snapshot-based Backup at the Storage Layer)</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="oracle_gud_0132_1"></a><a name="oracle_gud_0132_1"></a>
  <h1 class="topictitle1">Setting Permissions for Windows PowerShell (Applicable to Snapshot-based Backup at the Storage Layer)</h1>
  <div>
   <p>In the Windows OS scenario, if snapshot-based backup at the storage layer is used, ensure that Windows PowerShell has the script execution permission (RemoteSigned, Bypass, or Unrestricted).</p>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol id="oracle_gud_0132_1__sql-0011_ol3845155813619">
     <li id="oracle_gud_0132_1__sql-0011_li1487878141211"><span>Open Windows PowerShell and run the <strong id="oracle_gud_0132_1__sql-0011_b99541622111210">Get-ExecutionPolicy</strong> command to check whether Windows PowerShell has the <strong id="oracle_gud_0132_1__sql-0011_b1231612865819">RemoteSigned</strong>, <strong id="oracle_gud_0132_1__sql-0011_b11621181012580">Bypass</strong>, or <strong id="oracle_gud_0132_1__sql-0011_b18996121455817">Unrestricted</strong> policy to execute scripts.</span><p></p>
      <ul id="oracle_gud_0132_1__sql-0011_ul8490122691811">
       <li id="oracle_gud_0132_1__sql-0011_li9490326111815">If any of the preceding permissions exists, no further action is required.</li>
       <li id="oracle_gud_0132_1__sql-0011_li1749052616186">If the preceding permissions do not exist, go to <a href="#oracle_gud_0132_1__sql-0011_li48454583610">2</a>.</li>
      </ul> <p></p></li>
     <li id="oracle_gud_0132_1__sql-0011_li48454583610"><a name="oracle_gud_0132_1__sql-0011_li48454583610"></a><a name="sql-0011_li48454583610"></a><span>Run the <strong id="oracle_gud_0132_1__sql-0011_b1828154333411">Set-ExecutionPolicy RemoteSigned</strong> command to grant the <strong id="oracle_gud_0132_1__sql-0011_b4293642203618">RemoteSigned</strong> permission.</span></li>
    </ol>
   </div>
  </div>
 </body>
</html>